package com.zzj.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * InnoDB free: 8192 kB
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tab_order",resultMap = "sonMap")
public class TabOrder implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId
    private String oid;
    @JsonFormat(pattern = "yyyy-MM-dd kk:mm:ss")
    private Date otime;

    private String conname;

    private String contell;

    private Double ototal;

    private String ostatus;

    private String ooo;
    @TableField(exist = false)
    List<SonOrder> sonOrders;

}
